#ifdef LIST
#include "list.h"
#else
#include "cursor.h"
#endif

#include "stdlib.h"
int main()
{
#ifdef LIST
    /*List*/
    List Header = malloc(sizeof(Header));
    Insert(1, Header, Header);
    Insert(2, Header, Header);
    Insert(3, Header, Header);
    Insert(4, Header, Header);
    Print(Header);
    Delete(2, Header);
    Print(Header);
#else
    /*cursor*/
    InitializeCursorSpace();
    List Header = CursorAlloc();

    Insert(1, Header, Header);
    Insert(2, Header, Header);
    Insert(3, Header, Header);
    Insert(4, Header, Header);
    Print(Header);
    Delete(2, Header);
    Print(Header);
#endif
}